package main

import (
	"fmt"
	"strconv"
)

func main() {
	//test1()
	test2()
}

func test1() {
	_string := "hello-word"
	fmt.Println(_string)

	ss := []byte(_string)
	fmt.Println(string(ss))
}

func test2() {
	n, err := strconv.Atoi("123kkk")
	if err != nil {
		fmt.Println("转换错误", err)
	} else {
		fmt.Println("转成的结果是：", n)
	}
}
